package com.cash.loan.modular.cash.transfer;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @author Administrator
 * @Date 2018-10-08 11:14
 */
public class CashVersionDto {

    private String name;

    @NotBlank(message = "版本号不能为空")
    private String number;

    @NotBlank(message = "文件路径不能为空")
    private String filePath;

    public CashVersionDto() {
    }

    public CashVersionDto(String name, String number, String filePath) {
        this.name = name;
        this.number = number;
        this.filePath = filePath;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
}
